home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / mc51bugs.zip / Q33362 < prev    next >
Text File  |  1988-07-29  |  1KB  |  55 lines

  1. Q33362 Internal Compiler Error Grammar.c 1.29, Line 108
  2. C Compiler
  3. 5.10   | 5.10
  4. MS-DOS | OS/2
  5.  
  6. Summary:
  7.    The code below will produce the following error:
  8.  
  9. test.c(16) : fatal error C1001: Internal Compiler Error
  10.                 (compiler file '@(#)grammar.c:1.29', line 108)
  11.                 Contact Microsoft Technical Support
  12.  
  13.    The following is the code:
  14.  
  15. typedef struct myplotpoint{
  16.         int x;
  17.         int y;
  18.         } PLOT_POINT;
  19.  
  20. PLOT_POINT move_character_cursor();
  21.  
  22. PLOT_POINT special_character(ascii,pt)
  23. int ascii;
  24. PLOT_POINT pt;
  25. {
  26.     switch(ascii)
  27.     {
  28.     case 8:
  29.          return(move_character_cursor(pt,-1.0,0.0));
  30.  
  31.     default:
  32.          break;
  33.     }
  34.     return(pt);
  35. }
  36.  
  37. More Information:
  38.    This error can be avoided by changing the line
  39.  
  40.       return(move_character_cursor(pt,-1.0,0.0));
  41.  
  42. to the following two lines:
  43.  
  44.        pt=move_character_cursor(pt,-1.0,0.0);
  45.        return(pt);
  46.  
  47.    Microsoft has confirmed this to be a problem in Version 5.10 of the
  48. C compiler. We are researching this problem and will post new
  49. information as it becomes available.
  50.  
  51.  
  52.  
  53. Keywords:  buglist5.10 qfbv
  54. Updated  88/07/29 14:28
  55.